<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
<!DOCTYPE html>
<html>
<head>
<!-- Standard Meta -->
<c:import url="../common/meda.jsp"></c:import>

<!-- Site Properties -->
<title>分数转换-${sysDesc}</title>
<link rel="stylesheet" type="text/css"
	href="http://${static_server }/css/semantic.min.css">
<link rel="stylesheet" type="text/css"
	href="http://${static_server }/css/common.css">

<script src="http://${static_server }/js/jquery.min.js"></script>
<script src="http://${static_server }/js/semantic.min.js"></script>
<script src="http://${static_server }/js/common.js"></script>
<script src="//${static_server }/js/title_menu.js"></script>
<script src="http://${static_server }/js/score.js"></script>

</head>
<body class="pushable">
	<c:import url="../common/title_menu.jsp"></c:import>
	<div class="pusher">
		<div id="schoolheadsegment"
			class="ui vertical raised masthead segment">
			<div class="ui container">
				<div class="ui breadcrumb">
					<a class="section" href="http://${static_server }/"><i
						class="icon home"></i>首页</a>
					<div class="divider">/</div>
					<div class="active section">分数转换</div>
				</div>
			</div>
			<!-- content container end -->
		</div>

		<div class="ui vertical masthead segment">
			<div class="ui container">

				<form class="ui score convert form segment" method="post" action="//${dynamic_server }/score/index.do">
					<div class="ui message">
						注意事项：该功能在高考成绩正式公布前，可以自由输入分数和选择科类信息，至高考分数正式公布日起，分数和科类都将读取考生个人信息，不再允许输入！该功能采用<a>位次法</a>进行转分。
					</div>
					<div class="fields">
						<div class="four wide field">
							<input type="number" name="score" placeholder="输入您的分数" value="${formModel.score }">
						</div>
						<div class="four wide field">
							<div class="ui left fluid action input">
								<div class="ui fluid selection dropdown">
									<input name="year" type="hidden" value="${formModel.year }"> <i
										class="dropdown icon"></i>
									<div class="default text">请选择年份</div>
									<div class="fluid menu">
										<div class="item" data-value="2015">2015</div>
										<div class="item" data-value="2014">2014</div>
										<div class="item" data-value="2013">2013</div>
									</div>
								</div>
							</div>
						</div>
						<div class="eight wide field">
							<div class="ui fluid selection dropdown">
								<input name="subject" type="hidden" value="${formModel.subject }"> <i
									class="dropdown icon"></i>
								<div class="default text">请选择科类</div>
								<div class="fluid menu">
									<div class="item" data-value="普通文科">普通文科</div>
									<div class="item" data-value="普通理科">普通理科</div>
									<div class="item" data-value="蒙授文科">蒙授文科</div>
									<div class="item" data-value="蒙授理科">蒙授理科</div>
								</div>
							</div>
						</div>
					</div>
					<div class="ui error message"></div>
					<div class="ui orange submit button">转分</div>
				</form>
				<div class="ui segment" style="min-height: 150px;">
					<c:if test="${not empty msg}"><div class="ui waring message">
						${msg }
					</div></c:if>
					<p>您的位次：${scoreVO.ranking }</p>
					<p>您的分数：${scoreVO.score }</p>
				</div>
			</div>
			<!-- container end -->
		</div>
		<!-- segment end -->
		<c:import url="../common/footer.jsp"></c:import>
	</div>
	<!-- pusher end -->
</body>
</html>
